package com.xiake.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xiake.pojo.Headline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiake.pojo.vo.PortalVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


/**
* @author 周清峰
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2024-03-12 14:19:43
* @Entity com.xiake.pojo.Headline
*/
public interface HeadlineMapper extends BaseMapper<Headline> {
    //自定义分页查询方法
    IPage<Map> selectMyPage( IPage page, @Param("portalVo") PortalVo portalVo);
    Map selectDetailMap(Integer hid);
}




